projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b120db8
)
(w32_menu_show, w32_dialog_show): Call Fsignal to quit
author
Jason Rumney
<jasonr@gnu.org>
Thu, 3 Aug 2006 22:05:07 +0000
(22:05 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 3 Aug 2006 22:05:07 +0000
(22:05 +0000)
when no option selected except when for_click.
src/w32menu.c
patch
|
blob
|
history
diff --git
a/src/w32menu.c
b/src/w32menu.c
index 389e6c5b8562822d7fa065d7537779dc8c98acda..11af1d66b6fc4ba9a4836350eacbd4676196daec 100644
(file)
--- a/
src/w32menu.c
+++ b/
src/w32menu.c
@@
-1994,6
+1994,9
@@
w32_menu_show (f, x, y, for_click, keymaps, title, error)
}
}
}
+ else if (!for_click)
+ /* Make "Cancel" equivalent to C-g. */
+ Fsignal (Qquit, Qnil);
return Qnil;
}
@@
-2186,6
+2189,9
@@
w32_dialog_show (f, keymaps, title, header, error)
}
}
}
+ else
+ /* Make "Cancel" equivalent to C-g. */
+ Fsignal (Qquit, Qnil);
return Qnil;
}